package com.tencent.sr.iris.activity.dependency.dto.activity;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 任务奖励响应
 *
 * @author nixiaolin
 * @date 2023/05/04
 */
@Data
@ApiModel("任务奖励响应")
public class QueryAwardReceiveListDTO {

    @ApiModelProperty("外部单号")
    @JSONField(name = "out_trade_no")
    private String outTradeNo;

    @ApiModelProperty("中奖信息")
    @JSONField(name = "award_record")
    private AwardRecord awardRecord;

    @Data
    public static class AwardRecord {

        @ApiModelProperty("领取时间")
        @JSONField(name = "award_record_time")
        private String awardRecordTime;

        @ApiModelProperty("券信息")
        @JSONField(name = "award_record_wechat_coupon")
        private AwardRecordWechatCoupon awardRecordWechatCoupon;
    }

    @Data
    public static class AwardRecordWechatCoupon {

        @ApiModelProperty("核销时间")
        @JSONField(name = "consume_time")
        private String consumeTime;

    }
}